import Mock from 'mockjs'
// create 
Mock.mock('/table/create', 'post', {
  id: '@id'
})
// update

Mock.mock('/table/update', 'post', {
  id: '@id'
})
// search
Mock.mock('/table/search', 'get', {
  id: '@id',
  username: '@cname',
  date: '@date',
  description: '@paragraph'
})

// delete
Mock.mock('/table/delete', 'get', {
  id: '@id',
  username: '@cname',
  date: '@date',
  description: '@paragraph'
})
